package com.nut.course.common;

import com.nut.course.interceptor.UserJwt;
//import org.apache.dubbo.common.timer.HashedWheelTimer;
//import org.apache.dubbo.common.utils.NamedThreadFactory;

import java.util.concurrent.TimeUnit;

//import static org.apache.dubbo.remoting.Constants.TICKS_PER_WHEEL;

public class Holder {

    public static final ThreadLocal<UserJwt> USER_JWT_THREAD_LOCAL = new ThreadLocal<>();

//    public static final HashedWheelTimer DELAY_TIMER = new HashedWheelTimer(
//            new NamedThreadFactory("delay-task", true), 1, TimeUnit.SECONDS, TICKS_PER_WHEEL);

//    public static final ConcurrentHashMap<String, String> SYS_PARAMS = new ConcurrentHashMap<>();
//
//    static {
//        SYS_PARAMS.put("USE_1_FEN", "0");
//    }

}
